package cn.itsource.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * 友情链接
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "blog_friend_address")
public class BlogFriendAddress {
    @Id
    private Long id;
    private String name;
    private String address;
    @Column(name = "update_user_name")
    private String updateUserName;
    @Column(name = "update_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
    private Integer status;
}
